#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
#include<stdio.h>
using namespace std;
int main()
{
	int a = 0;
	int count = 1;
	scanf("%d", &a);
	if (a >= 1 && a <= 10 ^ 9)
	{
		while (a >1)
		{
			count++;
			a /= 2;
		}
	}
	printf("%d", count);
	return 0;
}